import api from '@/plugins/api'

export function login(data) {
  return api({
    url: '/api/user/login',
    method: 'post',
    data
  })
}